<template>
  <div id="app">
    <PaintBoard :cWidth="cWidth" :cHeight="cHeight"></PaintBoard>
  </div>
</template>
<script>
import PaintBoard from "@/components/PaintBoard";
export default {
  name: "myy-screen-paint",
  components: {
    PaintBoard,
  },
  data(){
    return {
      cWidth: document.body.clientWidth,
      cHeight: document.body.clientHeight,
    }
  }
};
</script>

<style lang="less">
body,html{
  margin:0;
  height: 100%;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
}
</style>
